package sanshui.system.trade.db.entity;

import java.util.ArrayList;
import java.util.List;

public class TradeAccountExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TradeAccountExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAccIdIsNull() {
            addCriterion("acc_id is null");
            return (Criteria) this;
        }

        public Criteria andAccIdIsNotNull() {
            addCriterion("acc_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccIdEqualTo(Long value) {
            addCriterion("acc_id =", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdNotEqualTo(Long value) {
            addCriterion("acc_id <>", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdGreaterThan(Long value) {
            addCriterion("acc_id >", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdGreaterThanOrEqualTo(Long value) {
            addCriterion("acc_id >=", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdLessThan(Long value) {
            addCriterion("acc_id <", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdLessThanOrEqualTo(Long value) {
            addCriterion("acc_id <=", value, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdIn(List<Long> values) {
            addCriterion("acc_id in", values, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdNotIn(List<Long> values) {
            addCriterion("acc_id not in", values, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdBetween(Long value1, Long value2) {
            addCriterion("acc_id between", value1, value2, "accId");
            return (Criteria) this;
        }

        public Criteria andAccIdNotBetween(Long value1, Long value2) {
            addCriterion("acc_id not between", value1, value2, "accId");
            return (Criteria) this;
        }

        public Criteria andAccDescIsNull() {
            addCriterion("acc_desc is null");
            return (Criteria) this;
        }

        public Criteria andAccDescIsNotNull() {
            addCriterion("acc_desc is not null");
            return (Criteria) this;
        }

        public Criteria andAccDescEqualTo(String value) {
            addCriterion("acc_desc =", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotEqualTo(String value) {
            addCriterion("acc_desc <>", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescGreaterThan(String value) {
            addCriterion("acc_desc >", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescGreaterThanOrEqualTo(String value) {
            addCriterion("acc_desc >=", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescLessThan(String value) {
            addCriterion("acc_desc <", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescLessThanOrEqualTo(String value) {
            addCriterion("acc_desc <=", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescLike(String value) {
            addCriterion("acc_desc like", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotLike(String value) {
            addCriterion("acc_desc not like", value, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescIn(List<String> values) {
            addCriterion("acc_desc in", values, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotIn(List<String> values) {
            addCriterion("acc_desc not in", values, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescBetween(String value1, String value2) {
            addCriterion("acc_desc between", value1, value2, "accDesc");
            return (Criteria) this;
        }

        public Criteria andAccDescNotBetween(String value1, String value2) {
            addCriterion("acc_desc not between", value1, value2, "accDesc");
            return (Criteria) this;
        }

        public Criteria andInitValueIsNull() {
            addCriterion("init_value is null");
            return (Criteria) this;
        }

        public Criteria andInitValueIsNotNull() {
            addCriterion("init_value is not null");
            return (Criteria) this;
        }

        public Criteria andInitValueEqualTo(Long value) {
            addCriterion("init_value =", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueNotEqualTo(Long value) {
            addCriterion("init_value <>", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueGreaterThan(Long value) {
            addCriterion("init_value >", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueGreaterThanOrEqualTo(Long value) {
            addCriterion("init_value >=", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueLessThan(Long value) {
            addCriterion("init_value <", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueLessThanOrEqualTo(Long value) {
            addCriterion("init_value <=", value, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueIn(List<Long> values) {
            addCriterion("init_value in", values, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueNotIn(List<Long> values) {
            addCriterion("init_value not in", values, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueBetween(Long value1, Long value2) {
            addCriterion("init_value between", value1, value2, "initValue");
            return (Criteria) this;
        }

        public Criteria andInitValueNotBetween(Long value1, Long value2) {
            addCriterion("init_value not between", value1, value2, "initValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueIsNull() {
            addCriterion("current_value is null");
            return (Criteria) this;
        }

        public Criteria andCurrentValueIsNotNull() {
            addCriterion("current_value is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentValueEqualTo(Long value) {
            addCriterion("current_value =", value, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueNotEqualTo(Long value) {
            addCriterion("current_value <>", value, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueGreaterThan(Long value) {
            addCriterion("current_value >", value, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueGreaterThanOrEqualTo(Long value) {
            addCriterion("current_value >=", value, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueLessThan(Long value) {
            addCriterion("current_value <", value, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueLessThanOrEqualTo(Long value) {
            addCriterion("current_value <=", value, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueIn(List<Long> values) {
            addCriterion("current_value in", values, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueNotIn(List<Long> values) {
            addCriterion("current_value not in", values, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueBetween(Long value1, Long value2) {
            addCriterion("current_value between", value1, value2, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentValueNotBetween(Long value1, Long value2) {
            addCriterion("current_value not between", value1, value2, "currentValue");
            return (Criteria) this;
        }

        public Criteria andCurrentCashIsNull() {
            addCriterion("current_cash is null");
            return (Criteria) this;
        }

        public Criteria andCurrentCashIsNotNull() {
            addCriterion("current_cash is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentCashEqualTo(Long value) {
            addCriterion("current_cash =", value, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashNotEqualTo(Long value) {
            addCriterion("current_cash <>", value, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashGreaterThan(Long value) {
            addCriterion("current_cash >", value, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashGreaterThanOrEqualTo(Long value) {
            addCriterion("current_cash >=", value, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashLessThan(Long value) {
            addCriterion("current_cash <", value, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashLessThanOrEqualTo(Long value) {
            addCriterion("current_cash <=", value, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashIn(List<Long> values) {
            addCriterion("current_cash in", values, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashNotIn(List<Long> values) {
            addCriterion("current_cash not in", values, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashBetween(Long value1, Long value2) {
            addCriterion("current_cash between", value1, value2, "currentCash");
            return (Criteria) this;
        }

        public Criteria andCurrentCashNotBetween(Long value1, Long value2) {
            addCriterion("current_cash not between", value1, value2, "currentCash");
            return (Criteria) this;
        }

        public Criteria andAccStatusIsNull() {
            addCriterion("acc_status is null");
            return (Criteria) this;
        }

        public Criteria andAccStatusIsNotNull() {
            addCriterion("acc_status is not null");
            return (Criteria) this;
        }

        public Criteria andAccStatusEqualTo(Integer value) {
            addCriterion("acc_status =", value, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusNotEqualTo(Integer value) {
            addCriterion("acc_status <>", value, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusGreaterThan(Integer value) {
            addCriterion("acc_status >", value, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("acc_status >=", value, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusLessThan(Integer value) {
            addCriterion("acc_status <", value, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusLessThanOrEqualTo(Integer value) {
            addCriterion("acc_status <=", value, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusIn(List<Integer> values) {
            addCriterion("acc_status in", values, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusNotIn(List<Integer> values) {
            addCriterion("acc_status not in", values, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusBetween(Integer value1, Integer value2) {
            addCriterion("acc_status between", value1, value2, "accStatus");
            return (Criteria) this;
        }

        public Criteria andAccStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("acc_status not between", value1, value2, "accStatus");
            return (Criteria) this;
        }

        public Criteria andDelFlgIsNull() {
            addCriterion("del_flg is null");
            return (Criteria) this;
        }

        public Criteria andDelFlgIsNotNull() {
            addCriterion("del_flg is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlgEqualTo(String value) {
            addCriterion("del_flg =", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgNotEqualTo(String value) {
            addCriterion("del_flg <>", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgGreaterThan(String value) {
            addCriterion("del_flg >", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgGreaterThanOrEqualTo(String value) {
            addCriterion("del_flg >=", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgLessThan(String value) {
            addCriterion("del_flg <", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgLessThanOrEqualTo(String value) {
            addCriterion("del_flg <=", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgLike(String value) {
            addCriterion("del_flg like", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgNotLike(String value) {
            addCriterion("del_flg not like", value, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgIn(List<String> values) {
            addCriterion("del_flg in", values, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgNotIn(List<String> values) {
            addCriterion("del_flg not in", values, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgBetween(String value1, String value2) {
            addCriterion("del_flg between", value1, value2, "delFlg");
            return (Criteria) this;
        }

        public Criteria andDelFlgNotBetween(String value1, String value2) {
            addCriterion("del_flg not between", value1, value2, "delFlg");
            return (Criteria) this;
        }

        public Criteria andAccTokenIsNull() {
            addCriterion("acc_token is null");
            return (Criteria) this;
        }

        public Criteria andAccTokenIsNotNull() {
            addCriterion("acc_token is not null");
            return (Criteria) this;
        }

        public Criteria andAccTokenEqualTo(String value) {
            addCriterion("acc_token =", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenNotEqualTo(String value) {
            addCriterion("acc_token <>", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenGreaterThan(String value) {
            addCriterion("acc_token >", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenGreaterThanOrEqualTo(String value) {
            addCriterion("acc_token >=", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenLessThan(String value) {
            addCriterion("acc_token <", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenLessThanOrEqualTo(String value) {
            addCriterion("acc_token <=", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenLike(String value) {
            addCriterion("acc_token like", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenNotLike(String value) {
            addCriterion("acc_token not like", value, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenIn(List<String> values) {
            addCriterion("acc_token in", values, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenNotIn(List<String> values) {
            addCriterion("acc_token not in", values, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenBetween(String value1, String value2) {
            addCriterion("acc_token between", value1, value2, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccTokenNotBetween(String value1, String value2) {
            addCriterion("acc_token not between", value1, value2, "accToken");
            return (Criteria) this;
        }

        public Criteria andAccUsernameIsNull() {
            addCriterion("acc_username is null");
            return (Criteria) this;
        }

        public Criteria andAccUsernameIsNotNull() {
            addCriterion("acc_username is not null");
            return (Criteria) this;
        }

        public Criteria andAccUsernameEqualTo(String value) {
            addCriterion("acc_username =", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameNotEqualTo(String value) {
            addCriterion("acc_username <>", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameGreaterThan(String value) {
            addCriterion("acc_username >", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("acc_username >=", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameLessThan(String value) {
            addCriterion("acc_username <", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameLessThanOrEqualTo(String value) {
            addCriterion("acc_username <=", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameLike(String value) {
            addCriterion("acc_username like", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameNotLike(String value) {
            addCriterion("acc_username not like", value, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameIn(List<String> values) {
            addCriterion("acc_username in", values, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameNotIn(List<String> values) {
            addCriterion("acc_username not in", values, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameBetween(String value1, String value2) {
            addCriterion("acc_username between", value1, value2, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccUsernameNotBetween(String value1, String value2) {
            addCriterion("acc_username not between", value1, value2, "accUsername");
            return (Criteria) this;
        }

        public Criteria andAccPwIsNull() {
            addCriterion("acc_pw is null");
            return (Criteria) this;
        }

        public Criteria andAccPwIsNotNull() {
            addCriterion("acc_pw is not null");
            return (Criteria) this;
        }

        public Criteria andAccPwEqualTo(String value) {
            addCriterion("acc_pw =", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwNotEqualTo(String value) {
            addCriterion("acc_pw <>", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwGreaterThan(String value) {
            addCriterion("acc_pw >", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwGreaterThanOrEqualTo(String value) {
            addCriterion("acc_pw >=", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwLessThan(String value) {
            addCriterion("acc_pw <", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwLessThanOrEqualTo(String value) {
            addCriterion("acc_pw <=", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwLike(String value) {
            addCriterion("acc_pw like", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwNotLike(String value) {
            addCriterion("acc_pw not like", value, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwIn(List<String> values) {
            addCriterion("acc_pw in", values, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwNotIn(List<String> values) {
            addCriterion("acc_pw not in", values, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwBetween(String value1, String value2) {
            addCriterion("acc_pw between", value1, value2, "accPw");
            return (Criteria) this;
        }

        public Criteria andAccPwNotBetween(String value1, String value2) {
            addCriterion("acc_pw not between", value1, value2, "accPw");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeIsNull() {
            addCriterion("start_datetime is null");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeIsNotNull() {
            addCriterion("start_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeEqualTo(String value) {
            addCriterion("start_datetime =", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeNotEqualTo(String value) {
            addCriterion("start_datetime <>", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeGreaterThan(String value) {
            addCriterion("start_datetime >", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeGreaterThanOrEqualTo(String value) {
            addCriterion("start_datetime >=", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeLessThan(String value) {
            addCriterion("start_datetime <", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeLessThanOrEqualTo(String value) {
            addCriterion("start_datetime <=", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeLike(String value) {
            addCriterion("start_datetime like", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeNotLike(String value) {
            addCriterion("start_datetime not like", value, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeIn(List<String> values) {
            addCriterion("start_datetime in", values, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeNotIn(List<String> values) {
            addCriterion("start_datetime not in", values, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeBetween(String value1, String value2) {
            addCriterion("start_datetime between", value1, value2, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andStartDatetimeNotBetween(String value1, String value2) {
            addCriterion("start_datetime not between", value1, value2, "startDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeIsNull() {
            addCriterion("end_datetime is null");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeIsNotNull() {
            addCriterion("end_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeEqualTo(String value) {
            addCriterion("end_datetime =", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeNotEqualTo(String value) {
            addCriterion("end_datetime <>", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeGreaterThan(String value) {
            addCriterion("end_datetime >", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeGreaterThanOrEqualTo(String value) {
            addCriterion("end_datetime >=", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeLessThan(String value) {
            addCriterion("end_datetime <", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeLessThanOrEqualTo(String value) {
            addCriterion("end_datetime <=", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeLike(String value) {
            addCriterion("end_datetime like", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeNotLike(String value) {
            addCriterion("end_datetime not like", value, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeIn(List<String> values) {
            addCriterion("end_datetime in", values, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeNotIn(List<String> values) {
            addCriterion("end_datetime not in", values, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeBetween(String value1, String value2) {
            addCriterion("end_datetime between", value1, value2, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andEndDatetimeNotBetween(String value1, String value2) {
            addCriterion("end_datetime not between", value1, value2, "endDatetime");
            return (Criteria) this;
        }

        public Criteria andMarketTypeIsNull() {
            addCriterion("market_type is null");
            return (Criteria) this;
        }

        public Criteria andMarketTypeIsNotNull() {
            addCriterion("market_type is not null");
            return (Criteria) this;
        }

        public Criteria andMarketTypeEqualTo(String value) {
            addCriterion("market_type =", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotEqualTo(String value) {
            addCriterion("market_type <>", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeGreaterThan(String value) {
            addCriterion("market_type >", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeGreaterThanOrEqualTo(String value) {
            addCriterion("market_type >=", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeLessThan(String value) {
            addCriterion("market_type <", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeLessThanOrEqualTo(String value) {
            addCriterion("market_type <=", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeLike(String value) {
            addCriterion("market_type like", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotLike(String value) {
            addCriterion("market_type not like", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeIn(List<String> values) {
            addCriterion("market_type in", values, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotIn(List<String> values) {
            addCriterion("market_type not in", values, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeBetween(String value1, String value2) {
            addCriterion("market_type between", value1, value2, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotBetween(String value1, String value2) {
            addCriterion("market_type not between", value1, value2, "marketType");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundIsNull() {
            addCriterion("fee_rate_around is null");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundIsNotNull() {
            addCriterion("fee_rate_around is not null");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundEqualTo(Integer value) {
            addCriterion("fee_rate_around =", value, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundNotEqualTo(Integer value) {
            addCriterion("fee_rate_around <>", value, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundGreaterThan(Integer value) {
            addCriterion("fee_rate_around >", value, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundGreaterThanOrEqualTo(Integer value) {
            addCriterion("fee_rate_around >=", value, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundLessThan(Integer value) {
            addCriterion("fee_rate_around <", value, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundLessThanOrEqualTo(Integer value) {
            addCriterion("fee_rate_around <=", value, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundIn(List<Integer> values) {
            addCriterion("fee_rate_around in", values, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundNotIn(List<Integer> values) {
            addCriterion("fee_rate_around not in", values, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundBetween(Integer value1, Integer value2) {
            addCriterion("fee_rate_around between", value1, value2, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andFeeRateAroundNotBetween(Integer value1, Integer value2) {
            addCriterion("fee_rate_around not between", value1, value2, "feeRateAround");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoIsNull() {
            addCriterion("buy_fee_rate_guo is null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoIsNotNull() {
            addCriterion("buy_fee_rate_guo is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoEqualTo(Integer value) {
            addCriterion("buy_fee_rate_guo =", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoNotEqualTo(Integer value) {
            addCriterion("buy_fee_rate_guo <>", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoGreaterThan(Integer value) {
            addCriterion("buy_fee_rate_guo >", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoGreaterThanOrEqualTo(Integer value) {
            addCriterion("buy_fee_rate_guo >=", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoLessThan(Integer value) {
            addCriterion("buy_fee_rate_guo <", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoLessThanOrEqualTo(Integer value) {
            addCriterion("buy_fee_rate_guo <=", value, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoIn(List<Integer> values) {
            addCriterion("buy_fee_rate_guo in", values, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoNotIn(List<Integer> values) {
            addCriterion("buy_fee_rate_guo not in", values, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoBetween(Integer value1, Integer value2) {
            addCriterion("buy_fee_rate_guo between", value1, value2, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateGuoNotBetween(Integer value1, Integer value2) {
            addCriterion("buy_fee_rate_guo not between", value1, value2, "buyFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanIsNull() {
            addCriterion("buy_fee_rate_quan is null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanIsNotNull() {
            addCriterion("buy_fee_rate_quan is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanEqualTo(Integer value) {
            addCriterion("buy_fee_rate_quan =", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanNotEqualTo(Integer value) {
            addCriterion("buy_fee_rate_quan <>", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanGreaterThan(Integer value) {
            addCriterion("buy_fee_rate_quan >", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanGreaterThanOrEqualTo(Integer value) {
            addCriterion("buy_fee_rate_quan >=", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanLessThan(Integer value) {
            addCriterion("buy_fee_rate_quan <", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanLessThanOrEqualTo(Integer value) {
            addCriterion("buy_fee_rate_quan <=", value, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanIn(List<Integer> values) {
            addCriterion("buy_fee_rate_quan in", values, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanNotIn(List<Integer> values) {
            addCriterion("buy_fee_rate_quan not in", values, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanBetween(Integer value1, Integer value2) {
            addCriterion("buy_fee_rate_quan between", value1, value2, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andBuyFeeRateQuanNotBetween(Integer value1, Integer value2) {
            addCriterion("buy_fee_rate_quan not between", value1, value2, "buyFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanIsNull() {
            addCriterion("sell_fee_rate_quan is null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanIsNotNull() {
            addCriterion("sell_fee_rate_quan is not null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanEqualTo(Integer value) {
            addCriterion("sell_fee_rate_quan =", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanNotEqualTo(Integer value) {
            addCriterion("sell_fee_rate_quan <>", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanGreaterThan(Integer value) {
            addCriterion("sell_fee_rate_quan >", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanGreaterThanOrEqualTo(Integer value) {
            addCriterion("sell_fee_rate_quan >=", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanLessThan(Integer value) {
            addCriterion("sell_fee_rate_quan <", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanLessThanOrEqualTo(Integer value) {
            addCriterion("sell_fee_rate_quan <=", value, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanIn(List<Integer> values) {
            addCriterion("sell_fee_rate_quan in", values, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanNotIn(List<Integer> values) {
            addCriterion("sell_fee_rate_quan not in", values, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanBetween(Integer value1, Integer value2) {
            addCriterion("sell_fee_rate_quan between", value1, value2, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateQuanNotBetween(Integer value1, Integer value2) {
            addCriterion("sell_fee_rate_quan not between", value1, value2, "sellFeeRateQuan");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinIsNull() {
            addCriterion("sell_fee_rate_yin is null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinIsNotNull() {
            addCriterion("sell_fee_rate_yin is not null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinEqualTo(Integer value) {
            addCriterion("sell_fee_rate_yin =", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinNotEqualTo(Integer value) {
            addCriterion("sell_fee_rate_yin <>", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinGreaterThan(Integer value) {
            addCriterion("sell_fee_rate_yin >", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinGreaterThanOrEqualTo(Integer value) {
            addCriterion("sell_fee_rate_yin >=", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinLessThan(Integer value) {
            addCriterion("sell_fee_rate_yin <", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinLessThanOrEqualTo(Integer value) {
            addCriterion("sell_fee_rate_yin <=", value, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinIn(List<Integer> values) {
            addCriterion("sell_fee_rate_yin in", values, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinNotIn(List<Integer> values) {
            addCriterion("sell_fee_rate_yin not in", values, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinBetween(Integer value1, Integer value2) {
            addCriterion("sell_fee_rate_yin between", value1, value2, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateYinNotBetween(Integer value1, Integer value2) {
            addCriterion("sell_fee_rate_yin not between", value1, value2, "sellFeeRateYin");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoIsNull() {
            addCriterion("sell_fee_rate_guo is null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoIsNotNull() {
            addCriterion("sell_fee_rate_guo is not null");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoEqualTo(Integer value) {
            addCriterion("sell_fee_rate_guo =", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoNotEqualTo(Integer value) {
            addCriterion("sell_fee_rate_guo <>", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoGreaterThan(Integer value) {
            addCriterion("sell_fee_rate_guo >", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoGreaterThanOrEqualTo(Integer value) {
            addCriterion("sell_fee_rate_guo >=", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoLessThan(Integer value) {
            addCriterion("sell_fee_rate_guo <", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoLessThanOrEqualTo(Integer value) {
            addCriterion("sell_fee_rate_guo <=", value, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoIn(List<Integer> values) {
            addCriterion("sell_fee_rate_guo in", values, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoNotIn(List<Integer> values) {
            addCriterion("sell_fee_rate_guo not in", values, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoBetween(Integer value1, Integer value2) {
            addCriterion("sell_fee_rate_guo between", value1, value2, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andSellFeeRateGuoNotBetween(Integer value1, Integer value2) {
            addCriterion("sell_fee_rate_guo not between", value1, value2, "sellFeeRateGuo");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeIsNull() {
            addCriterion("buy_fixed_fee is null");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeIsNotNull() {
            addCriterion("buy_fixed_fee is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeEqualTo(Integer value) {
            addCriterion("buy_fixed_fee =", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeNotEqualTo(Integer value) {
            addCriterion("buy_fixed_fee <>", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeGreaterThan(Integer value) {
            addCriterion("buy_fixed_fee >", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeGreaterThanOrEqualTo(Integer value) {
            addCriterion("buy_fixed_fee >=", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeLessThan(Integer value) {
            addCriterion("buy_fixed_fee <", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeLessThanOrEqualTo(Integer value) {
            addCriterion("buy_fixed_fee <=", value, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeIn(List<Integer> values) {
            addCriterion("buy_fixed_fee in", values, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeNotIn(List<Integer> values) {
            addCriterion("buy_fixed_fee not in", values, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeBetween(Integer value1, Integer value2) {
            addCriterion("buy_fixed_fee between", value1, value2, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andBuyFixedFeeNotBetween(Integer value1, Integer value2) {
            addCriterion("buy_fixed_fee not between", value1, value2, "buyFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeIsNull() {
            addCriterion("sell_fixed_fee is null");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeIsNotNull() {
            addCriterion("sell_fixed_fee is not null");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeEqualTo(Integer value) {
            addCriterion("sell_fixed_fee =", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeNotEqualTo(Integer value) {
            addCriterion("sell_fixed_fee <>", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeGreaterThan(Integer value) {
            addCriterion("sell_fixed_fee >", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeGreaterThanOrEqualTo(Integer value) {
            addCriterion("sell_fixed_fee >=", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeLessThan(Integer value) {
            addCriterion("sell_fixed_fee <", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeLessThanOrEqualTo(Integer value) {
            addCriterion("sell_fixed_fee <=", value, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeIn(List<Integer> values) {
            addCriterion("sell_fixed_fee in", values, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeNotIn(List<Integer> values) {
            addCriterion("sell_fixed_fee not in", values, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeBetween(Integer value1, Integer value2) {
            addCriterion("sell_fixed_fee between", value1, value2, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andSellFixedFeeNotBetween(Integer value1, Integer value2) {
            addCriterion("sell_fixed_fee not between", value1, value2, "sellFixedFee");
            return (Criteria) this;
        }

        public Criteria andFeeAroundIsNull() {
            addCriterion("fee_around is null");
            return (Criteria) this;
        }

        public Criteria andFeeAroundIsNotNull() {
            addCriterion("fee_around is not null");
            return (Criteria) this;
        }

        public Criteria andFeeAroundEqualTo(Integer value) {
            addCriterion("fee_around =", value, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundNotEqualTo(Integer value) {
            addCriterion("fee_around <>", value, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundGreaterThan(Integer value) {
            addCriterion("fee_around >", value, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundGreaterThanOrEqualTo(Integer value) {
            addCriterion("fee_around >=", value, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundLessThan(Integer value) {
            addCriterion("fee_around <", value, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundLessThanOrEqualTo(Integer value) {
            addCriterion("fee_around <=", value, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundIn(List<Integer> values) {
            addCriterion("fee_around in", values, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundNotIn(List<Integer> values) {
            addCriterion("fee_around not in", values, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundBetween(Integer value1, Integer value2) {
            addCriterion("fee_around between", value1, value2, "feeAround");
            return (Criteria) this;
        }

        public Criteria andFeeAroundNotBetween(Integer value1, Integer value2) {
            addCriterion("fee_around not between", value1, value2, "feeAround");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNull() {
            addCriterion("account_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNotNull() {
            addCriterion("account_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeEqualTo(String value) {
            addCriterion("account_type =", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotEqualTo(String value) {
            addCriterion("account_type <>", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThan(String value) {
            addCriterion("account_type >", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThanOrEqualTo(String value) {
            addCriterion("account_type >=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThan(String value) {
            addCriterion("account_type <", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThanOrEqualTo(String value) {
            addCriterion("account_type <=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLike(String value) {
            addCriterion("account_type like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotLike(String value) {
            addCriterion("account_type not like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIn(List<String> values) {
            addCriterion("account_type in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotIn(List<String> values) {
            addCriterion("account_type not in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeBetween(String value1, String value2) {
            addCriterion("account_type between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotBetween(String value1, String value2) {
            addCriterion("account_type not between", value1, value2, "accountType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}